package com.blog.model;

import java.util.Date;

public class CommentInfo {
	
	private String commentId;
	private UserInfo userId;
	private ArticleInfo articleId;
	private String content;
	private Date time;
	private int parentId;
	public String getCommentId() {
		return commentId;
	}
	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}
	public UserInfo getUserId() {
		return userId;
	}
	public void setUserId(UserInfo userId) {
		this.userId = userId;
	}
	public ArticleInfo getArticleId() {
		return articleId;
	}
	public void setArticleId(ArticleInfo articleId) {
		this.articleId = articleId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public CommentInfo(String commentId, UserInfo userId,
			ArticleInfo articleId, String content, Date time, int parentId) {
		super();
		this.commentId = commentId;
		this.userId = userId;
		this.articleId = articleId;
		this.content = content;
		this.time = time;
		this.parentId = parentId;
	}
	public CommentInfo() {
		super();
	}
	
	
}
